package com.exercise.rpc.parse;/**
 * Created by kete on 2018-12-05.
 */

import com.exercise.rpc.common.model.RpcServiceBean;
import com.exercise.rpc.parse.spring.ReferenceBean;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * 作者：kete
 * 创建时间：2018-12-05 17:05
 * 功能描述：
 * 版本：
 */
public class MarioNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        registerBeanDefinitionParser("service",new MarioServiceBeanDefinitionParser(RpcServiceBean.class));
        registerBeanDefinitionParser("reference",new MarioServiceBeanDefinitionParser(ReferenceBean.class));
    }
}
